public class ObjMajor{
   private final int n=-1;
   private String name=null, 
                  degree=null;
   private int totalunits=n, 
               supportunits=n, 
               coreunits=n, 
               electiveunits=n, 
               geaunits=n, 
               gebunits=n, 
               gecunits=n, 
               gedunits=n, 
               geeunits=n;
   ObjMajor(){}
   ObjMajor(String name, 
            String degree, 
            int totalunits, 
            int supportunits, 
            int coreunits, 
            int electiveunits, 
            int geaunits, 
            int gebunits, 
            int gecunits, 
            int gedunits, 
            int geeunits){
      this.name = name; 
      this.degree = degree; 
      this.totalunits = totalunits; 
      this.supportunits = supportunits; 
      this.coreunits = coreunits; 
      this.electiveunits = electiveunits;
      this.geaunits = geaunits;
      this.gebunits = gebunits; 
      this.gecunits = gecunits; 
      this.gedunits = gedunits; 
      this.geeunits = geeunits;
   }
   
   /** setters */            
   public void setName(String s)       { this.name = s; }
   public void setDegree(String s)     { this.degree = s;  }
   public void setTotalunits(int n)    { this.totalunits = n; }
   public void setSupportunits(int n)  { this.supportunits = n; }
   public void setCoreunits(int n)     { this.coreunits = n; }
   public void setElectiveunits(int n) { this.electiveunits = n; }
   public void setGeaunits(int n)      { this.geaunits = n; }
   public void setGebunits(int n)      { this.gebunits = n; }
   public void setGecunits(int n)      { this.gecunits = n; }
   public void setGedunits(int n)      { this.gedunits = n; }
   public void setGeeunits(int n)      { this.geeunits = n; }

   /** getters */
   public String getName()       { return this.name; }
   public String getDegree()     { return this.degree;  }
   public int getTotalunits()    { return this.totalunits; }
   public int getSupportunits()  { return this.supportunits; }
   public int getCoreunits()     { return this.coreunits; }
   public int getElectiveunits() { return this.electiveunits; }
   public int getGeaunits()      { return this.geaunits; }
   public int getGebunits()      { return this.gebunits; }
   public int getGecunits()      { return this.gecunits; }
   public int getGedunits()      { return this.gedunits; }
   public int getGeeunits()      { return this.geeunits; }
   
}